package cate.common.table.role.vip;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

public class VipCsMailRow extends ERow {

    @NoteField(value = "VIP等级")
    public int level;

    @NoteField(value = "GameId")
    public String gameId;

    @NoteField(value = "邮件标题")
    public String mailTitle;

    @NoteField(value = "邮件内容")
    public String mailContent;

    @Override
    public void parse(XSSFRowWrap xr) {
        super.parse(xr);
        this.id = xr.getInteger("ID", 0);
        this.level = xr.getInteger("VIP等级", 888);
        this.gameId = xr.getString("GameId");
        this.mailTitle = xr.getString("邮件标题");
        this.mailContent = xr.getString("邮件内容");
    }
}
